package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingBaseSafetyStockEntity;

/**
 * 金蝶-财务模块-安全库存设置Mapper接口
 *
 * @author wutao
 * @date 2024-06-22
 */
public interface KingBaseSafetyStockMapper extends BaseMapper<KingBaseSafetyStockEntity> {
    /**
     * 查询金蝶-财务模块-安全库存设置
     *
     * @param id 金蝶-财务模块-安全库存设置ID
     * @return 金蝶-财务模块-安全库存设置
     */
    KingBaseSafetyStockEntity selectKingBaseSafetyStockEntityById ( String id );

    /**
     * 查询金蝶-财务模块-安全库存设置列表
     *
     * @param kingBaseSafetyStockEntity 金蝶-财务模块-安全库存设置
     * @return 金蝶-财务模块-安全库存设置集合
     */
    List<KingBaseSafetyStockEntity> selectKingBaseSafetyStockEntityList ( KingBaseSafetyStockEntity kingBaseSafetyStockEntity );

    /**
     * 新增金蝶-财务模块-安全库存设置
     *
     * @param kingBaseSafetyStockEntity 金蝶-财务模块-安全库存设置
     * @return 结果
     */
    int insertKingBaseSafetyStockEntity ( KingBaseSafetyStockEntity kingBaseSafetyStockEntity );

    /**
     * 修改金蝶-财务模块-安全库存设置
     *
     * @param kingBaseSafetyStockEntity 金蝶-财务模块-安全库存设置
     * @return 结果
     */
    int updateKingBaseSafetyStockEntity ( KingBaseSafetyStockEntity kingBaseSafetyStockEntity );

    /**
     * 删除金蝶-财务模块-安全库存设置
     *
     * @param id 金蝶-财务模块-安全库存设置ID
     * @return 结果
     */
    int deleteKingBaseSafetyStockEntityById ( String id );

    /**
     * 批量删除金蝶-财务模块-安全库存设置
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteKingBaseSafetyStockEntityByIds ( String[] ids );
}
